package com.block.datapush.form.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.block.common.service.LogFactory;
import com.block.datapush.form.service.IFormInfoService;
import com.block.db.entity.FormInfo;
import com.block.db.mapper.FormInfoMapper;
import org.slf4j.Logger;
import org.springframework.stereotype.Service;

/**
 * <p>
 * 表单下游信息 服务实现类
 * </p>
 *
 * @author 
 * @since 2022-08-08
 */
@Service
public class FormInfoServiceImpl extends ServiceImpl<FormInfoMapper, FormInfo> implements IFormInfoService {

    private static Logger log = LogFactory.getCommLog();

    /**
     * 获取渠道推送信息
     * 关键信息
     *
     * @param channelId
     * @return
     */
    @Override
    public FormInfo getEntityByChannelId(String channelId) {
        return this.getById(channelId);
    }


}
